﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using welding.Model;

namespace welding.Controller
{
    class CheckinController
    {
        private string cmdString;
        private CheckinResponseClass checkinResponse;

        public CheckinController()
        {
        }

        public CheckinController(string cmdString)
        {
            this.CmdString = cmdString;
            this.CheckinResponse = JsonConvert.DeserializeObject<CheckinResponseClass>(cmdString);
        }

        public string CmdString { get => cmdString; set => cmdString = value; }
        internal CheckinResponseClass CheckinResponse { get => checkinResponse; set => checkinResponse = value; }
    }
}
